// import Mock from 'mockjs';
import sign from './sign';

/*
格式：`httpMethod apiPath: data | function`
说明：
function(req, res){ return res.json(data)}
1. req：为express Request 对象 https://www.expressjs.com.cn/4x/api.html#req
req.body: post or put 参数
req.params: 动态url参数
req.query: url query 参数
2. res: 为express Response 对象 https://www.expressjs.com.cn/4x/api.html#res
*/

const mockEnum = {
  'POST /api/v1/user/crm/login/:id 测试post': sign.loginApi,
  'GET /api/v1/user/crm/login 测试get': sign.loginApi,
  'PUT /api/some/put/:id 测试PUT': sign.testPut
};

export default mockEnum;
